export default {
  data() {
    return {
      // 站点列表
      pointList: [],
      pointLoading: false
    }
  },
  methods: {
    //  配送站点列表
    async getPointList() {
      this.pointLoading = true
      const res = await this.$api.distribution.getPointList({
        current_page: 1,
        page_number: 10000
      })
      this.pointLoading = false
      if (res.code === 1) {
        this.pointList = res.data
      }
    }
  }
}
